package cn.xxliang.platapp.pojo.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("产品区域限制信息Dto")
@EqualsAndHashCode(callSuper = false)
public class ProductAreaReDto {
    @ApiModelProperty(value = "平台产品ID", required = true)
    @NotNull(message = "平台产品ID不能为空")
    private String platformProductId;
    
    @ApiModelProperty(value = "区域id", required = true)
    @NotNull(message = "区域id不能为空")
    private String areaId;
    
    @ApiModelProperty(value = "区域名称", required = true)
    @NotNull(message = "区域名称不能为空")
    private String areaName;
    
    //@ApiModelProperty("创建时间")
    //private Date createTime;
    
    //@ApiModelProperty("修改时间")
    //private Date updateTime;
    
    @ApiModelProperty("主键")
    private String productAreaReId;
}
